//
//  BaseViewController.h
//  MemberProject
//
//  Created by MAC OS X on 15/4/1.
//  Copyright (c) 2015年 MAC OS X. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "ZBarReaderViewController.h"
#import "ZBarReaderController.h"
#import "NSTimer+Blocks.h"
#import "KxMenu.h"

typedef enum:NSInteger
{
    SignZbarStyle = 0,//注册时扫描二维码
    MyZbarStyle = 1,//
    ActivityStyle = 2//录入活动内容扫描二维码
}MoreOperaStyle;
@interface BaseViewController : UIViewController<ZBarReaderDelegate>
{
    ZBarReaderViewController *readerVC;
    ZBarReaderController *zbarRC;
}
typedef void (^ZbarPushBlock) (NSString *str);

@property (copy,nonatomic)ZbarPushBlock zBlock;

-(void)addBack;

-(void)titleWithLabel:(NSString *)title andColor:(UIColor *)color;
//扫一扫
-(void)showQz:(NSInteger)style;
//从相册中获取二维码图片
-(void)showQzFromLibrary;
-(void)getZBarPushBlockStr:(CSResultBlock)result;

- (void)setExtraCellLineHidden: (UITableView *)tableView;
@end
